/**
 * LangChain类型定义统一导出
 * 从ai-writer-lite项目迁移
 */

// 导出所有类型定义
export * from './agent'
export * from './memory'
export * from './tools'

// 导出所有实现
export * from '../agents'
export * from '../tools'
export * from '../memory'

// 导出常用类型别名
export type {
  AgentState,
  AgentResult,
  ToolCall,
  AgentConfig,
  WritingTaskType,
  WritingContext,
  AgentProgress,
} from './agent'

export type {
  BaseMemory,
  MemoryType,
  ConversationalMemory,
  VectorStoreMemory,
  EpisodicMemory,
  Episode,
  MemorySearchParams,
  MemorySearchResult,
  MemoryConfig,
} from './memory'

export type {
  BaseTool,
  ToolCategory,
  ToolResult,
  TextGenerationParams,
  TextAnalysisParams,
  MemoryManagementParams,
  ProjectManagementParams,
} from './tools'